package com.gxz.security;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@SpringBootApplication
@EnableGlobalMethodSecurity(securedEnabled = true,prePostEnabled = true)
public class securityApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext ioc = SpringApplication.run(securityApplication.class, args);
        System.out.println(111);
    }
}
